import request from '@/utils/request'

export function getDateAndTimeZone() {
  return request({
    url: '/system/date/getDateAndTimeZone',
    method: 'get',
  })
}
export function getNetWork(name) {
  return request({
    url: '/system/network/getNetWork',
    method: 'get',
    params: { interfaceName: '' }
  })
}
export function updateNetWork(data) {
  return request({
    url: '/system/network/updateNetWork',
    method: 'post',
    data
  })
}
export function updateDate(data) {
  return request({
    url: '/system/date/updateDate',
    method: 'post',
    data
  })
}




